package com.example.tys.baseapplication.NetModel.okhttp.requset;

import android.util.Log;

import com.example.tys.baseapplication.NetModel.okhttp.OkHttpClientManger;

import okhttp3.Call;
import okhttp3.OkHttpClient;
import okhttp3.Request;

/**
 *
 * @author Administrator
 * @date 2016/10/27
 */
public class GetRequestBuilder extends BaseRequest<GetRequestBuilder> {

    @Override
    public Call build() {
        Request req = new Request.Builder().get()
                .url(addUrlParams(url))
                .tag(tag)
                .headers(addHead(heads))
                .build();
        System.out.println(req.toString());
        return OkHttpClientManger.getClient("").newCall(req);
    }





}
